package cn.hs.ph.entity;

public class CommunityShop {
    private int id;
    private int communityId;
    private int shopId;

    public CommunityShop() {
    }

    public CommunityShop(int id, int communityId, int shopId) {
        this.id = id;
        this.communityId = communityId;
        this.shopId = shopId;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return communityId
     */
    public int getCommunityId() {
        return communityId;
    }

    /**
     * 设置
     * @param communityId
     */
    public void setCommunityId(int communityId) {
        this.communityId = communityId;
    }

    /**
     * 获取
     * @return shopId
     */
    public int getShopId() {
        return shopId;
    }

    /**
     * 设置
     * @param shopId
     */
    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public String toString() {
        return "CommunityShop{id = " + id + ", communityId = " + communityId + ", shopId = " + shopId + "}";
    }
}
